From: Jasper St. Pierre Date: Thu, 23 May 2013 21:41:19 +0000 (-0400) Subject: messageTray: Don't destroy a notification from within its destroy handler X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4124 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f73a01295cffef6daf76d41242887b615c6c61cd;p=gnome-shell.git messageTray: Don't destroy a notification from within its destroy handler Nothing but bad can come from this. https://bugzilla.gnome.org/show_bug.cgi?id=700923 --- diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index e2db331d9..68f4e5c5f 100644 --- a/js/ui/messageTray.js +++ b/js/ui/messageTray.js @@ -1996,7 +1996,6 @@ const MessageTray = new Lang.Class({ } let index = this._notificationQueue.indexOf(notification); - notification.destroy(); if (index != -1) this._notificationQueue.splice(index, 1); },